package com.cdp.zwy.zwy_manager_back_v1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author bug制作者
 * @version 1.0
 * @description: ArticleLikeMapper文章点赞映射器
 * @date 2025/8/21 17:36
 */
@Mapper
public interface ArticleLikeMapper {
    void insert(@Param("articleId") Integer articleId, @Param("userIdentifier") String userIdentifier);
    void delete(@Param("articleId") Integer articleId, @Param("userIdentifier") String userIdentifier);
    Integer findByUser(@Param("articleId") Integer articleId, @Param("userIdentifier") String userIdentifier);
    List<String> findUsersByArticleId(@Param("articleId") Integer articleId);
}

